package b.a.d;

import a.e.c;
import a.j.ld;

import java.awt.*;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.URL;

public class b
  extends ld
{
  d n;
  public static int F;
  
  public b()
  {
    e();
  }
  
  public b(d paramd)
  {
    this();
    this.n = paramd;
    h();
  }
  
  public b(URL paramURL)
  {
    this();
    a(paramURL);
    h();
  }
  
  public b(ld paramld)
  {
    super(paramld);
    if ((i != 0) || ((paramld instanceof b)))
    {
      b localb = (b)paramld;
      this.n = ((d)localb.n.clone());
      if (i == 0) {}
    }
    else
    {
      e();
    }
  }
  
  private void e()
  {
    this.n = new d();
    w().e((byte)5);
    w().d((byte)109);
  }
  
  public ld a(ld paramld)
  {
    return new b(paramld);
  }
  
  public boolean b(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, Point2D paramPoint2D)
  {
    int i = d.x;
    if (i == 0) {
      if (paramDouble1 == paramDouble3)
      {
        if (i != 0) {
          break label37;
        }
        if (paramDouble2 == paramDouble4) {
          return false;
        }
      }
    }
    label37:
    if (i == 0) {
      if (f(paramDouble1, paramDouble2))
      {
        if (i != 0) {
          break label77;
        }
        if (!f(paramDouble3, paramDouble4)) {
          break label63;
        }
      }
    }
    return false;
    label63:
    super.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4, paramPoint2D);
    label77:
    return true;
  }
  
  public URL f()
  {
    return this.n.b();
  }
  
  public void a(URL paramURL)
  {
    this.n.b(paramURL);
  }
  
  public d g()
  {
    return this.n;
  }
  
  public void a(d paramd)
  {
    this.n = paramd;
  }
  
  public void h()
  {
    if ((d.x != 0) || (this.n.d()))
    {
      Rectangle2D localRectangle2D = this.n.a();
      if (localRectangle2D != null) {
        b(localRectangle2D.getWidth(), localRectangle2D.getHeight());
      }
    }
  }
  
  public void a(Graphics2D paramGraphics2D)
  {
    int i = d.x;
    if (i == 0)
    {
      if (this.n.d()) {
        this.n.a(paramGraphics2D, a(), b(), c(), d());
      }
      if (i != 0) {}
    }
    else if (H())
    {
      b(paramGraphics2D);
    }
    f(paramGraphics2D);
  }
  
  public void a(ObjectOutputStream paramObjectOutputStream)
    throws IOException
  {
    paramObjectOutputStream.writeByte(1);
    super.a(paramObjectOutputStream);
    g().a(paramObjectOutputStream);
  }
  
  public void a(ObjectInputStream paramObjectInputStream)
    throws IOException, ClassNotFoundException
  {
    int i = d.x;
    switch (paramObjectInputStream.readByte())
    {
    case 0: 
      super.a(paramObjectInputStream);
      a((URL)paramObjectInputStream.readObject());
      if (i == 0) {
        break;
      }
    case 1: 
      super.a(paramObjectInputStream);
      g().a(paramObjectInputStream);
      if (i == 0) {
        break;
      }
    default: 
      throw new c();
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     b.a.d.b

 * JD-Core Version:    0.7.0.1

 */